﻿namespace Assets.Scripts.Globe.DateReader
{
    public class AudioResConfigReader:TxtReaderBase<AudioResConfig>
    {
        protected override AudioResConfig[] InitModles(int num)
        {
            AudioResConfig[]configs=new AudioResConfig[num];
            for (int i = 0; i < num; i++)
            {
                AudioResConfig config=new AudioResConfig();
                configs[i] = config;
            }
            return configs;
        }

        protected override KeyType KeyType
        {
            get { return KeyType.String;}
        }

        protected override string TextPath
        {
            get { return "ResConfig/AudioConfig"; }
        }
    }

    public class AudioResConfig : ModelBase
    {
        public string Name { get; set; }//资源名称
        public string ResPath { get; set; }//路径
    }
}